package com.emailManager;

/**
 * Created by Samuel on 16/9/26.
 */
public class ControlPro {
    /**
     * true-正式发布环境 false-测试发布环境
     */
    public static Boolean isOpenPublic = false;
    /**
     * isOpenPublic 先决条件
     * true-开发模式 false-发布模式
     */
    public static Boolean isDebug = false;

    public static String authSignKey = "dbk160327";

    public static String mainCompCode = "SCCompany0CC";
    public static String mainMallCode = "SCCompany0CCMall0";
    /**
     * 微信支付 服务器url
     */
    public static String localUrl = "106.14.94.109";
    public static String localUrl_test = "106.14.112.118";
    /**
     * 加密签名
     */
    public static int signExpiryDate = 86400;//签名有效期（秒），24小时
    public static Boolean signExtendDate = true;//签名是否自动延时（每次调用接口延长至1天）
    public static String aes_CRYPT_KEY = "LSSAmuelLSSAmuel";//AES加秘密钥
    /**
     * 订单
     */
    public static int orderRelaseDate = 60*15;//1000*60*15;//订单自动释放 15分钟释放库存(毫秒)
    public static int orderConfirmDate = 60*60*24*7;//1000*60*60*24*7;//7天
    public static int orderRejectDate = 60*60*24*15;//1000*60*60*24*15;//15天
    /**
     * 图片服务
     */
    public static int niu7RelaseDate = 86400;//7牛图片token失效，24小时
    public static String niu7_ACCESS_KEY = "sWJfIC4tpNnMbxaZTeHJD3hPAynzXfh1gMQnkO40";//7牛图片
    public static String niu7_SECRET_KEY = "axzLrVhp1vb2pDcwVW638DEGS-et4HnDi6M6QNEO";//7牛图片

    public static String niu7_bucketName = "isoops";//7牛图片 存储空间名称
    public static String niu7_url = "http://image.isoops.com/";//7牛图片 url

    public static String niu7_bucketName_test = "test-isoops";//7牛图片 存储空间名称
    public static String niu7_url_test = "http://test-image.isoops.com/";//7牛图片 url

    public static String good_Store_Type = "goodstore";
    public static String good_Saling_Type = "goodsaling";

    /**
     * 邮件服务
     */
//    public static String EmailName = "administrator@isoops.com";
//    public static String EmailPassword = "Yjxsfltt1";
//    public static String MailServerHost = "smtp.isoops.com";
    public static String EmailName = "administrator@isoops.com";
    public static String EmailPassword = "Yjxs16fltt03yslf27";
    public static String MailServerHost = "smtp.isoops.com";
    public static String MailServerPort = "25";

    public static Integer skuStartLength = 1000;

    /**
     * 团购redis-key
     */
    public static String GroupRuleRedisKey = "GroupRuleRedisKey";

    /**
     * 微信回调url
     */
    public static String WechatPay_Basic_Public = "https://api.isoops.com/wechat/payStatusCallback.api";
    public static String WechatPay_Basic_Test = "http://test-api.isoops.com/wechat/payStatusCallback.api";
    public static String WechatPay_Group_Public = "https://api.isoops.com/wechat/payStatusCallbackForGroup.api";
    public static String WechatPay_Group_Test = "http://test-api.isoops.com/wechat/payStatusCallbackForGroup.api";


    /**
     * 订单redis状态队列
     */
    public static String Redis_Queue_For_BaseOrderStatus = "Redis_Queue_For_BaseOrderStatus";
    public static String Redis_Queue_For_GroupOrderStatus = "Redis_Queue_For_GroupOrderStatus";

}
